import request from "../utils/index"
//获取图片列表
export function getWengti(data?: object) {
    return request({
        method: 'GET',
        url: 'http://localhost:3001/zz/getWengti',
        data
    })
}
export function getHDlist(data?: object) {
    return request({
        method: 'GET',
        url: 'http://localhost:3001/zz/getHDlist',
        data
    })
}
export function setCaogao(data?: object) {
    return request({
        method: 'post',
        url: 'http://localhost:3001/zz/setCaogao',
        data
    })
}
export function getCaogao(data?: object) {
    return request({
        method: 'GET',
        url: 'http://localhost:3001/zz/getCaogao',
        data
    })
}
export function setHDList(data?: object) {
    return request({
        method: 'post',
        url: 'http://localhost:3001/zz/setHDList',
        data
    })
}
export function SetuserHDList(data?: object) {
    return request({
        method: 'post',
        url: 'http://localhost:3001/zz/SetuserHDList',
        data
    })
}
//获取所有用户列表
export function getShop(data?: object) {
    return request({
        method: 'GET',
        url: 'http://localhost:3001/Ayt/getShop',
        data
    })
}
//获取作品列表
export function getUserList(params?: object) {
    return request({
        method: 'GET',
        url: 'http://localhost:3001/lf/getUserList',
        params
    })
}
//修改订阅内容
export function SetDingyue(data?: object) {
    return request({
        method: 'post',
        url: 'http://localhost:3001/zz/SetDingyue',
        data
    })
}
//修改用户关注内容
export function SetGuanzhu(data?: object) {
    return request({
        method: 'post',
        url: 'http://localhost:3001/zz/SetGuanzhu',
        data
    })
}
//修改用户草稿箱内容
export function SetShoujiset(data?: object) {
    return request({
        method: 'post',
        url: 'http://localhost:3001/zz/SetShoujiset',
        data
    })
}
//用户商品内容
export function SHangqingList(data?: object) {
    return request({
        method: 'GET',
        url: 'http://localhost:3001/zz/SHangqingList',
        data
    })
}
